package daf

class Account {

    static constraints = {
    	name(nullable:false, blank:false)
    	contactEmail(nullable:false, email:true)
    }
    
    String toString() {
    	return name
    }
    
    String name
    String contactEmail

}
